Skip to content

Use more caching to reduce CI times for Mac and Linux - #252

Merged
Tabby merged 10 commits into
masterfrom
use-brew-icu4c-macos
Oct 31, 2025
Merged

Use more caching to reduce CI times for Mac and Linux#252
Tabby merged 10 commits into
masterfrom
use-brew-icu4c-macos

Conversation

@Tabby

@Tabby Tabby commented Oct 30, 2025

Copy link
Copy Markdown
Collaborator
  • MacOS builds spend ages downloading and compiling libicu, so cache the built libraries and includes and then use CMake's find_library to find and use them if they exist (i.e. a cache exists)
  • Use awalsh128/cache-apt-pkgs-action to speed up installing apt packages on Linux and also cache them once installed

@Tabby
Tabby force-pushed the use-brew-icu4c-macos branch from 7e3f5f9 to 86318ea Compare October 30, 2025 16:16
@Tabby
Tabby force-pushed the use-brew-icu4c-macos branch from 86318ea to 969c094 Compare October 31, 2025 10:10
@Tabby Tabby changed the title Try to use prebuilt ICU from homebrew on Mac and bundle it Try caching ICU from build on Mac and Linux to reduce CI times Oct 31, 2025
Tabby added 2 commits October 31, 2025 03:31
The Linux build spends most of its time installng packages with apt not building ICU
@Tabby
Tabby force-pushed the use-brew-icu4c-macos branch from 6f7b0f8 to 4eca23a Compare October 31, 2025 10:50
@Tabby Tabby changed the title Try caching ICU from build on Mac and Linux to reduce CI times Try caching ICU from build on Mac to reduce CI times Oct 31, 2025
@Tabby
Tabby force-pushed the use-brew-icu4c-macos branch from a6426ee to 25bfe08 Compare October 31, 2025 11:57
@Tabby
Tabby force-pushed the use-brew-icu4c-macos branch from 25bfe08 to eff2c7f Compare October 31, 2025 12:10
@Tabby Tabby changed the title Try caching ICU from build on Mac to reduce CI times Use more caching to reduce CI times for Mac and Linux Oct 31, 2025
@Tabby
Tabby force-pushed the use-brew-icu4c-macos branch from 38f0a7b to 39e3384 Compare October 31, 2025 13:06
@Tabby
Tabby merged commit d954c42 into master Oct 31, 2025
11 checks passed
@Tabby
Tabby deleted the use-brew-icu4c-macos branch October 31, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant